package com.liam.design.observer.obs;

import com.liam.design.observer.sub.Subject;

/**
 * 观察者接口，有最新的更新会通知目标对象
 */
public interface Observer {
    void update(Subject subject);
}
